import os

namespace = os.environ['Namespace'] if 'Namespace' in os.environ else ""
repo = os.environ['Repo'] if 'Repo' in os.environ else ""
accessKeyId = os.environ['AccessKeyId'] if 'AccessKeyId' in os.environ else "AccessKeyId"
accessKeySecret = os.environ['AccessKeySecret'] if 'AccessKeySecret' in os.environ else "AccessKeySecret"
regionId = os.environ['RegionId'] if 'RegionId' in os.environ else "cn-hangzhou"
days_keep = int(os.environ['DaysKeep']) if 'DaysKeep' in os.environ else 10
tags_keep = int(os.environ['TagsKeep']) if 'TagsKeep' in os.environ else 10
tag_prefix = int(os.environ['TagPrefix']) if 'TagPrefix' in os.environ else ""

try:
    from local_settings import *
except ImportError:
    pass
